package com.boot.hospital.score.core.service;

import com.boot.hospital.score.dao.entity.CadreAndScore;
import com.boot.hospital.score.dao.entity.Score;

import java.util.List;
import java.util.Map;

public interface ScoreService {

    //查询all评分记录
    List<Score> selectAll();

//  添加评分
    int insert(Score score);

    Score selectByReviewIdAndExpertId(Map<String,Object> params);
    CadreAndScore getScoresAndCadres(Map<String,Object> params);

    int deleteScoresByReviewIds(List<Integer> reviewIds);

}
